package com.ams.mapper;

import org.apache.ibatis.annotations.Param;

import com.ams.pojo.AsUser;

public interface AsUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AsUser record);

    int insertSelective(AsUser record);

    AsUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AsUser record);

    int updateByPrimaryKey(AsUser record);
    
    //登入验证
    AsUser selectAsUserByLogin(@Param("usercode") String usercode,@Param("userpassword") String userpassword);
   
}